package io.mft.commons.function.response;

import io.mft.commons.function.FunctionResponseType;
import io.mft.commons.function.IFunctionResponse;

public class RedirectFunctionResponse implements IFunctionResponse {
	 
	        /**
	 * @说明：TODO
	 * @字段名称 serialVersionUID
	        */  
	    
	private static final long serialVersionUID = -1639476295543549339L;
	private String url="";
	private String text;
	
	public void setText(String text) {
		this.text = text;
	}
	public String getText() {
		return text;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUrl() {
		return url;
	}
	@Override
	public FunctionResponseType responseType() {
		return FunctionResponseType.redirect;
	}
}
